using EloBuddy.SDK.Menu.Values;
using ExorAIO.Utilities;
using LeagueSharp.SDK;

namespace ExorAIO.Champions.Warwick
{
    /// <summary>
    ///     The menu class.
    /// </summary>
    internal class Menus
    {
        /// <summary>
        ///     Sets the menu.
        /// </summary>
        public static void Initialize()
        {
            /// <summary>
            ///     Sets the spells menu.
            /// </summary>
        
            {
                /// <summary>
                ///     Sets the menu for the Q.
                /// </summary>
             
           
                Vars.QMenu = Vars.Menu.AddSubMenu("q设置");
                {
                    Vars.QMenu.Add("combo", new CheckBox("连招", true));
                    Vars.QMenu.Add("killsteal", new CheckBox("抢人头", true));
                    Vars.QMenu.Add("clear", new Slider("清线蓝量 >= x%", 50, 0, 99));

                }
                /// <summary>
                ///     Sets the menu for the W.
                /// </summary>
        
               
                Vars.WMenu = Vars.Menu.AddSubMenu("w设置");
                    {
                        Vars.WMenu.Add("combo", new CheckBox("连招", true));
                        Vars.WMenu.Add("killsteal", new CheckBox("抢人头", true));
                        Vars.WMenu.Add("clear", new CheckBox("清线", true));
                    }
              
       
                /// <summary>
                ///     Sets the menu for the R.
                /// </summary>
         
                /// <summary>
                ///     Sets the menu for the E Whitelist.
                /// </summary>
                 Vars.RMenu = Vars.Menu.AddSubMenu("R设置");
                  {
                    Vars.RMenu.Add("combo", new CheckBox("连招", true));
                    Vars.RMenu.Add("killsteal", new CheckBox("抢人头", true));
                    Vars.RMenu.Add("interrupter", new CheckBox("打断施法", true));
                    {
                   Vars.WhiteListMenu = Vars.Menu.AddSubMenu("大招名单");
                     {
                    foreach (var target in GameObjects.EnemyHeroes)
                    {
                        Vars.WhiteListMenu.Add(target.ChampionName.ToLower(), new CheckBox($"使用 给他: {target.ChampionName}", true));
                    }
                }
            }
        }
                /// <summary>
                ///     Sets the drawings menu.
                /// </summary>
                Vars.DrawingsMenu = Vars.Menu.AddSubMenu("线圈");
                {
                    Vars.DrawingsMenu.Add("q", new CheckBox("Q 范围"));
                    Vars.DrawingsMenu.Add("e", new CheckBox("E 范围"));
                    Vars.DrawingsMenu.Add("w", new CheckBox("W 范围"));
                    Vars.DrawingsMenu.Add("r", new CheckBox("R 范围"));

                }
            }
    }
    }
}